package function;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-01-24 22:57
 **/
public class TestLoad {

    public static void main(String[] args) {
        List<String> s1 = new ArrayList<String>();
        List<Integer> s2 = new ArrayList<Integer>();
        System.out.println(s1.getClass());
        System.out.println(s1.getClass()==s2.getClass());
        //method(s2);
        method(s1);


    }


   /* public  static int method(List<Integer> list){
        System.out.println("invoke List<Integer> list");
        return 1;
    }*/
    public  static String method(List<String> list){
        System.out.println("invoke List<String> list");
        return "";
    }
}
